package com.jiangchuang.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.util.Date;

@Data
public class Activity {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String title;
    @ApiModelProperty(value = "活动弹窗显示频率，0-每天一次，1-活动期间仅显示一次")
    private Integer frequencyType;
    private LocalDate beginTime;
    private LocalDate endTime;
    @ApiModelProperty(value = "活动状态：0-开启，1-关闭")
    private Integer status;
    private String img;
}
